<!--
 * @Description:
 * @Version: 1.0
 * @Autor: haozhuang
 * @Date: 2020-04-28 14:34:17
 * @LastEditors: haozhuang
 * @LastEditTime: 2020-05-08 17:06:48
 -->
<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>
<style lang="scss">
.el-scrollbar {
  height: 100%;
  width: 100%;
  .el-scrollbar__wrap {
    overflow-x: hidden;
  }
}

body {
  .v-contextmenu {
    width: 160px;
    line-height: 23px;
    z-index: 99999 !important;
    [class^="el-icon-"] {
      margin-right: 8px;
    }
    .v-contextmenu-item {
      font-size: 12px;
      font-family: PingFangSC-Regular, PingFang SC,serif;
      font-weight: 400;
      color: rgba(113, 113, 113, 1);
      line-height: 22px;
    }
  }

  .ellipsis {
    width: 100%; /*根据自己项目进行定义宽度*/
    overflow: hidden; /*设置超出的部分进行影藏*/
    text-overflow: ellipsis; /*设置超出部分使用省略号*/
    white-space: nowrap; /*设置为单行*/
  }

  .tox .tox-dialog--width-lg {
    width: 100%;
    max-width: inherit;
    height: 100%;
  }
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: #f5f5f5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #f5f5f5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(144, 147, 153, 0.5);
  -webkit-box-shadow: inset 0 0 6px rgba(144, 147, 153, 0.5);
  background-color: rgba(144, 147, 153, 0.3);
}
</style>
